package com.bianqian.demo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量分类笔记请求DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BatchCategorizeRequest {
    
    @NotEmpty(message = "笔记ID列表不能为空")
    private List<Long> noteIds;
    
    @NotBlank(message = "分类名称不能为空")
    private String categoryName;
}




